in arrray php

32

$arr = array('php','java','python');

if ( in_array( 'java', $arr ) ) {

  echo 'available';

}else{

  echo 'not available';

}

Comments

Submit
0 Comments